package org.bigtree.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.bigtree.example.constans.GenderEnum;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author bigTree
 * @since 2025/4/26
 */
@TableName("t_employ")
@Data
public class Employ {
    @TableId(type=IdType.ASSIGN_ID)
    private Long id;
    private String name;
    private GenderEnum gender;
    private Integer salary;
    private String address;
    private LocalDate birthday;
    private Integer deptId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
